grails.project.class.dir = "target/classes"
grails.project.test.class.dir = "target/test-classes"
grails.project.test.reports.dir = "target/test-reports"
//grails.project.war.file = "target/${appName}-${appVersion}.war"
grails.project.dependency.resolution = {
    // inherit Grails' default dependencies
    inherits("global") {
        // uncomment to disable ehcache
        // excludes 'slf4j-log4j12'
    }
    log "warn" // log level of Ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose'
    repositories {
        grailsPlugins()
        grailsHome()
        grailsCentral()

        // uncomment the below to enable remote dependency resolution
        // from public Maven repositories
        mavenLocal()
        mavenCentral()
        mavenRepo "https://repository.apache.org/content/repositories/snapshots"
        //mavenRepo "http://repository.codehaus.org"
        //mavenRepo "http://download.java.net/maven/2/"
        //mavenRepo "http://repository.jboss.com/maven2/"
    }
    dependencies {
        // specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes eg.
        compile("org.apache.activemq:activemq-optional:5.6-SNAPSHOT") {
            excludes 'gentlyweb-utils', 'josql', 'axis'
        }
        compile("org.apache.activemq:activemq-core:5.6-SNAPSHOT")
        compile("org.apache.activemq:activemq-jaas:5.6-SNAPSHOT")
        compile("org.apache.activemq:kahadb:5.5.0") {
            transitive = false
        }

        runtime("com.thoughtworks.xstream:xstream:1.3.1")

        compile "org.eclipse.jetty.aggregate:jetty-all-server:7.5.1.v20110908"
        compile "org.eclipse.jetty:jetty-websocket:7.5.1.v20110908"

        compile "org.apache.geronimo.specs:geronimo-j2ee-management_1.1_spec:1.0.1"
        compile "org.apache.geronimo.specs:geronimo-jms_1.1_spec:1.1.1"
    }
}
